GoXam for WPF v3
FindCategoryForNode Method (GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>)
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : FindCategoryForNode Method
Find the category of a node data.
Syntax
protected virtual string FindCategoryForNode( 
   NodeType nodedata
)

Parameters

nodedata

Return Value

by default an empty string
Remarks

This is called on each node data that is added to the model, to decide which template to use.

This is used for model discovery. This method can be overridden in case the NodeCategoryPath property path is not flexible enough or fast enough to determine the value.

See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members